package cn.org.eshow.dao;


import cn.org.eshow.bean.query.AddressQuery;
import cn.org.eshow.common.page.Page;
import cn.org.eshow.model.Address;

import java.util.List;

/**
 * An interface that provides a data management interface to the Address table.
 */
public interface AddressDao extends GenericDao<Address, Integer> {

	List<Address> list(AddressQuery query);

	Page<Address> search(AddressQuery query);

    Long count(AddressQuery query);
}